@import "./variables.less";
.u-ball-tag() {
  position: absolute;
  right: 0;
  top: -8px;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  box-sizing: border-box;
  padding: 0 3px;
  min-width: 16px;
  line-height: 14px;
  border: 1px solid #fff;
  border-radius: 16px;
  background-color: #f44;
  transform: translateX(50%);
  transform-origin: 100%;
}
.u-cross-btn() {
  background:@bg-l2;
  width: 100%;
  height: 100%;
  position:relative;
  display:flex;
  align-items: center;
  justify-content: center;
  &:before,&:after{
    content:'';
    position:absolute;
    background:@border-l1;
  }
  &:before{
    height:40%;
    width:5%;
  }
  &:after{
    height:5%;
    width:40%;
  }
  &:active{
    background:@bg-active;
  }
}
.u-seal() {
  position: absolute;
  transform: rotate(-20deg);
  border-radius: 100%;
  width: 80px;
  height: 80px;
  line-height: 60px;
  color: @danger;
  border: 10px double @danger;
  text-align: center;
  opacity: .5;
  &:before, &:after {
    content: '-';
  }
  &--done {
    color: @border-l1;
    border-color: @border-l1;
  }
}


//按钮
.u-btn-mini-border(){
  font-size:14px;
  border:1px solid @primary;
  border-radius: 3px;
  color:@primary;
  padding:0 @sm-spacing;
  &:active{
    opacity: .5;
    background: none;
  }
}
//end按钮
.u-input(){
  height:2.5em;
  line-height:2.5em;
  padding:0 15px;
}
.u-textarea(){
  //line-height:2.5em;
  padding:0 15px;
  width:100%;
}
.u-picker(){
  height:2.5em;
  line-height:2.5em;
  padding:0 30px 0 15px;
  position:relative;
  &:active{
    background:@bg-active;
  }
  &:after{
    content: "";
    height: 6px;
    width: 6px;
    border:0 solid @text-secondary;
    border-width: 2px 2px 0 0;
    transform: rotate(45deg);
    position: absolute;
    right: 15px;
    top:50%;
    margin-top:-4px;
  }
}
.u-form-row-text(){
  padding:10px 15px;
  font-size:14px;
  color:@text-secondary;
}
.u-panel-row-tit(){
  padding:10px 15px;
  font-size:17px;
}
.u-red-star(){
  color:@danger;
  font-weight: bold;
  position:relative;
  top:2px;
}
